.dashboard-container {
  height: calc(100dvh - 6.7rem);
  overflow-y: auto;
  position: relative;

  &::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
  }

  &::-webkit-scrollbar {
    width: 12px;
  }

  &::-webkit-scrollbar-track {
    background: rgba(20, 20, 30, 0.5);
    border-radius: 10px;
  }

  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(20, 20, 30, 0.5);
}

@media (max-width: 768px) {
  .dashboard-container {
    height: calc(100dvh - 5rem);

    &::-webkit-scrollbar {
      width: 8px;
    }
  }
}

.dashboard {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.dashboard .no-library-header {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff, #e2e8f0, var(--p-primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.dashboard-no-library {
  padding: 3rem;
  background: var(--p-surface-900);
  border-radius: 24px;
  border: 1px solid var(--p-content-border-color);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.dashboard .p-dialog {
  max-width: 90%;
}

::ng-deep .p-dialog-mask {
  background-color: rgba(0, 0, 0, 0.5);
}

::ng-deep .p-dialog-mask {
  backdrop-filter: blur(3px);
}

.dashboard-settings-button {
  position: fixed;
  top: 6rem;
  right: 2rem;
  z-index: 100;

  ::ng-deep .p-button {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    background: rgba(var(--p-surface-900-rgb), 0.8);
    border: 1px solid var(--p-content-border-color);

    &:hover {
      background: rgba(var(--p-surface-800-rgb), 0.9);
      transform: scale(1.05);
      transition: all 0.2s ease;
    }
  }
}

@media (max-width: 768px) {
  .dashboard-settings-button {
    top: 5rem;
    right: 1rem;

    ::ng-deep .p-button {
      width: 2.5rem;
      height: 2.5rem;
    }
  }
}
